(function($){
	$.fn.showShadowBg=function(options){
		var thisClick =$(this);
		var defaults= {"shadowBg":".shadow-bg"};
		var settings= $.extend(defaults, options ||{});
		$(this).on("mouseover", function(){
			$(this).find(settings.shadowBg).animate({"height": "100%"}, 100);
			$(this).find(".btn").animate({"bottom":"-1","height":"36"}, 10);
		});
		$(this).on("mouseleave", function(){
			thisClick.find(settings.shadowBg).animate({"height": "0"}, 100);
			thisClick.find(".btn").animate({"bottom":(parseFloat($(this).find(".btn").outerHeight())-parseFloat($(this).find(".btn").height()))/-1,"height":"0"}, 10);
		});
	}
}(jQuery));


(function($){
	$(document).ready(function(e) {
		$(".publish-item").showShadowBg();
        $(".pager-control .btn").showMoreContent();
    });
}(jQuery));